﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LdtJudge.DataEngine.Model.DataModel.ElementNode
{
    /// <summary>
    /// 案件要素信息单元信息
    /// </summary>
    public class ElementNodeModel
    {
        /// <summary>
        /// 单元唯一ID
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 上级ID
        /// </summary>
        public string ParentId { get; set; }
        /// <summary>
        /// xml路径
        /// </summary>
        public string Path { get; set; }
        /// <summary>
        /// 提取结果
        /// </summary>
        public Model.DataModel.DynamicData.InteractiveModel interactiveModel { get; set; }
        /// <summary>
        /// 原文集合
        /// </summary>
        public List<string> OriginalTextList { get; set; }

        /// <summary>
        /// 原文字符串，保存要素时的原文使用改字段
        /// </summary>
        public string OrigianlTextStr { get; set; }

        /// <summary>
        /// 提取原文
        /// </summary>
        public string ExtOriginalText { get; set; }

        /// <summary>
        /// 是否为节点1是0否
        /// </summary>
        public string IsNode { get; set; }

        /// <summary>
        /// 单元结果
        /// </summary>
        public string Value { get; set; }

        /// <summary>
        /// 单元名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 段落code
        /// </summary>
        public string ParagraphName { get; set; }

        /// <summary>
        /// 字典CODE
        /// </summary>
        public string DictionariesCode { get; set; }

        /// <summary>
        /// 提取值原文定位
        /// </summary>
        public string OriginalLocation { get; set; }

        /// <summary>
        /// 提取值原文定位长度
        /// </summary>
        public string OriginalLen { get; set; }
    }
}
